From f8d89b0e3a5ac65ec95f9b0b1b867fc30d274fc6 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Sun, 27 Aug 2006 10:25:39 -0600 Subject: [PATCH] [IA64] Fixes for dom0_ops changes Fix typo and update op names Signed-off-by: Alex Williamson --- xen/arch/ia64/xen/domain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index 44ece09e05..699bd6bff7 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -615,7 +615,7 @@ domain_set_shared_info_va (unsigned long va) /* Transfer and clear the shadow bitmap in 1kB chunks for L1 cache. */ #define SHADOW_COPY_CHUNK (1024 / sizeof (unsigned long)) -int shadow_mode_control(struct domain *d, xen_domctl_shadow_ops_t *sc) +int shadow_mode_control(struct domain *d, xen_domctl_shadow_op_t *sc) { unsigned int op = sc->op; int rc = 0; @@ -740,10 +740,10 @@ int shadow_mode_control(struct domain *d, xen_domctl_shadow_ops_t *sc) } break; } - case DOM0_SHADOW_CONTROL_OP_GET_ALLOCATION: + case XEN_DOMCTL_SHADOW_OP_GET_ALLOCATION: sc->mb = 0; break; - case DOM0_SHADOW_CONTROL_OP_SET_ALLOCATION: + case XEN_DOMCTL_SHADOW_OP_SET_ALLOCATION: if (sc->mb > 0) { BUG(); rc = -ENOMEM; -- 2.30.2